import json

from config import BASE_PATH


def read_json_data(filename):
    with open(filename,"r",encoding="utf8") as f:
        data =json.load(f)

        add_list =[]
        for v in data:
            add_list.append(tuple(v.values()))
        return add_list

if __name__ == '__main__':
    filename = BASE_PATH + "/data/ihrm_add.json"
    ret = read_json_data(filename)
    print(ret)